package com.pd.ChainOfResponsibility;

/**
 * Created with IntelliJ IDEA.
 * User: 5
 * Date: 17-2-28
 * Time: 下午1:43
 * To change this template use File | Settings | File Templates.
 */
public abstract  class DefaultHandler implements Handler {
    protected  Handler handler;
    @Override
    public void setSuccessor(Handler handler) {
        this.handler=handler;
    }
    @Override
    public void doWork(int time) {
    }
}
